<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <link rel="stylesheet" href="../../css/settings.css">
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav">
        <a href="./settings.jsp" class="">
            <i class="am-header-icon am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">赚龙凤币</h1>
</header>

<article data-am-widget="paragraph"
         class="am-paragraph am-paragraph-default zlfb-box"

         data-am-paragraph="{ tableScrollable: true, pureview: true }">


    <div class="zlfb-txt">您的邀请码:<span id="inviteCode"></span></div>

    <p>将此邀请码告诉您的朋友,她(他)注册成功以后,您可以获得50龙凤币</p>


</article>


<%@ include file="./../common/footerNav.jsp" %>
<%@ include file="./../common/footer.jsp" %>

<script>
    $(function () {
        var url = "/h5/zlfb";
        var user = JSON.parse(localStorage.getItem("user"));
        $.post(url, {
            account: user.account
        }, function (result) {
            $("#inviteCode").text(result.inviteCode)
        })
    })


</script>

</body>
</html>